package com.atguigu.springcloud.service;


import com.atguigu.springcloud.entities.Payment;

public interface PaymentService {

    public int addPayment(Payment payment);

    public Payment getPaymentById(long id);

    public String paymentInfo_ok(Integer id);
    String paymentInfo_timeOut(Integer id);

    public String paymentInfo_TimeoutHandler(Integer id);
    //服务熔断
    public String paymentCircuitBreaker(Integer id);
}
